package JDBCDAO;

import java.util.List;



public interface IEmployeeDao {
	/**
     * 创建新员工
     */
	public void create(EmployeeBean employeebean) throws Exception;
        
		/**
	 * 修改员工
	 * @param employeebean
	 */
	public void update(EmployeeBean employeebean) throws Exception;

	
	/***
	 * 删除员工
	 * @param employeebean
	 */
	public void delete(int  emloyeeid) throws Exception;


	
	/***
	 * 取得指定的员工信息
	 * @param employeebean
	 * @return
	 */
	public EmployeeBean getEmployee(String Name) throws Exception;
	

	
	/***
	 * 取得所有员工列表
	 * @return
	 */
	@SuppressWarnings("rawtypes")
	public List getAll() throws Exception;
		
}

